package com.exartisan.adapter;

import com.exartisan.thanhdoanhn.R;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

public class FeedAdapter extends BaseAdapter {
	
	private LayoutInflater inflater;

	public FeedAdapter() {
		
	}
	
	public FeedAdapter(Context ctx) {
		this.inflater = LayoutInflater.from(ctx);
	}

	@Override
	public int getCount() {
		return 5;
	}

	@Override
	public Object getItem(int position) {
		return null;
	}

	@Override
	public long getItemId(int position) {
		return 0;
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent) {
		if (convertView==null) convertView = inflater.inflate(R.layout.row_event_feed, parent, false);
		return convertView;
	}

}
